package org.bigjava.biz;

import org.bigjava.bean.Wuye;

import java.util.List;

public interface WuyeService {

    //根据负责人姓名和物业公司模糊查询
    public List<Wuye> wuYeMoHu(String realname,String company);
    //校验物业账号是否存在
    public Wuye wuYeJiaoYan(String username);
    //根据id查出物业信息
    public Wuye wuYeId(int id);
    //根据id假删除物业
    public int wuYeShanChu(int id);
    //物业总人数
    public int wuYeZong();
    //物业分页查询
    public List<Wuye> wuYeFenYe(int offset , int length);
    //物业账号密码登录
    public Wuye wuyeDengLu(String username,String password);
    //物业个人信息修改
    public int wuYeXiuGai(Wuye wuye);
    //添加物业
    public int wuYeAdd(Wuye wuye);
    //查询全部物业
    public List<Wuye> wuYeQuan();

}
